<?php

namespace app\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class Balance extends Model
{

    public static $ACTION = [
        'Purchase membership' => '购买会员',
        'recharge' => '充值',
        'rebates' => '返利',
        'The push succeeded' => '推广购买费用',
        'Video reward' => '视频观看奖励',
        'Video promotion rewards' => '视频推广奖励',
        'Withdrawal' => '提现',
    ];

    //关联用户表
    public function user()
    {
        return $this->belongsTo('User', 'user_id', 'id');
    }

}